package cn.tedu.milktea.admin.service.impl;

import cn.tedu.milktea.admin.mapper.CategoryMapper;
import cn.tedu.milktea.admin.service.ICategoryService;
import cn.tedu.milktea.pojo.vo.CategorySimpleVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CategoryServiceImpl implements ICategoryService {
    
    @Autowired
    CategoryMapper CategoryMapper;


    @Override
    public List<CategorySimpleVO> getCategoryStatistics() {
        return CategoryMapper.getCategoryStatistics();
    }
}
